package com.iddactylogram.common.utils;

import java.util.Map;

public final class ObjectToStringUtils {
    private ObjectToStringUtils() {
    }

    public <T, V> String mapToString(Map<T, V> map) {
        StringBuilder sb = new StringBuilder("{");
        map.forEach((k, v) -> {
            sb.append(k).append(":").append(v).append(",");
        });
        sb.append("}");
        return sb.toString();
    }
}
